﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace blackhouse.Translator.Business.Configuration {
    internal class TranslatorConfigurationLanguageElement : ConfigurationElement {

        #region Properties

        [ConfigurationProperty("culture", IsRequired = true, IsKey = true)]
        public string Culture {
            get { return (string)base["culture"]; }
            set { base["culture"] = value; }
        }

        [ConfigurationProperty("isdefault", IsRequired = false)]
        public bool IsDefault {
            get { return (bool)base["isdefault"]; }
            set { base["isdefault"] = value; }
        }

        #endregion

    }
}
